package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/try")
public class TryController {

    @RequestMapping("/show")
    public String show() {
        System.out.println("JSP页面");
        return "/WEB-INF/pages/show.jsp";
    }

    @RequestMapping("/index")
    public String index() {
        System.out.println("HTML页面");
        return "index";
    }

}
